package com.wzz.common;


import static com.wzz.common.utils.LogUtil.d;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.hymobile.common.R;
import com.wzz.common.activity.RollAnimationActivity;
import com.wzz.common.activity.TestAnimationActivity;
import com.wzz.common.calendar.activity.CalendarMain;
import com.wzz.common.callrecord.activity.CallRecordMain;
import com.wzz.common.download.activity.DownLoadMain;
import com.wzz.common.menu.activity.MyselfMenu;
import com.wzz.common.widget.ExpandableListViewDemo;
import com.wzz.common.widget.ListViewLoading;
public class CommonMain extends Activity {
  private static final String TAG = "CommonMain";  

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
  }

  public void showCalendar(View v){
    d(TAG,"onClicked !!!");
    startActivity(new Intent(this.getApplicationContext(), CalendarMain.class));
  }
  //下载
  public void downloadFileList(View v){
    startActivity(new Intent(this.getApplicationContext(), DownLoadMain.class));
  }
  //可伸縮Listview
  public void expandableListView(View v){
    startActivity(new Intent(this.getApplicationContext(), ExpandableListViewDemo.class));
  }
  //底部動態加載listview
  public void listViewLoading(View v){
    startActivity(new Intent(this.getApplicationContext(), ListViewLoading.class));
  }

  //电话录音模块儿
  public void callrecord(View v){
    startActivity(new Intent(this.getApplicationContext(), CallRecordMain.class));
  }
  //自定义的菜单 
  public void myselfmenu(View v){
    startActivity(new Intent(this.getApplicationContext(), MyselfMenu.class));
  }
  /**
   * 反方向播放动画
   */
  public void reverseAnimation(View v){
    startActivity(new Intent(this, RollAnimationActivity.class));
  }
  
  /**
   *MAnimation
   */
  public void animation(View v) {
    startActivity(new Intent(this, TestAnimationActivity.class));
  }
}